import request from '@/utils/request'
import qs from 'qs';

export function getShopSortList() {
    return request({
        url: '/manager/shop/getShopSort',
        method: 'get'
    })
}

export function deleteShop(id) {
    return request({
        url: `/manager/shop/deleteSortById/${id}`,
        method: 'delete'
    })
}


export function addShopSort(data) {
  return request({
      url: `/manager/shop/saveShopSort`,
      method: 'post',
      data: qs.stringify(data)
  })
}